import { Entity, Column, PrimaryGeneratedColumn } from 'typeorm';

@Entity()
export class VoteRecord {
  @PrimaryGeneratedColumn()
  r_id: number;
  @Column({
    width: 10
  })
  r_time: number;
  @Column()
  i_id: number;
  @Column({
    width: 2
  })
  i_options_item: number;
  @Column()
  u_id: number;
}
